package com.example.adminui.service;

import com.example.adminui.entity.Customer;
import com.example.adminui.entity.FollowRecord;

import java.util.List;

public interface CustomerService {
    List<Customer> getAllCustomers();

    Customer getCustomerById(Long id);

    void createCustomer(Customer customer);

    void updateCustomer(Customer customer);

    void deleteCustomer(Long id);

    List<FollowRecord> getFollowRecordsByCustomerId(Long customerId);

    FollowRecord getFollowRecordById(Long id);

    void createFollowRecord(FollowRecord followRecord);

    void updateFollowRecord(FollowRecord followRecord);

    void deleteFollowRecord(Long id);

    /**
     * 根据条件进行模糊查询
     * */
    List<Customer> queryCustomer();
}